Testing aes encryption