changing unit tests to match new encryption changes