Encryption test correction