crypto: extend unit tests to cover decryption too