Added tests for the Cryptography class (key transformations)