Add test cases for mcrypt/openssl.

Also include a test to show that 2.x data can still be decrypted now.