Update DES test code to use the new public API.