Add test case for the 'return false' thing.
Split the raw encryption/decryption into methods.