Added simple test case for encryption/decryption. Closes #8