fixed AES encryption test