broken aes unit test fixed