Updating unit tests.
Fixing unit test with the latest cryptography changes.