Add AES test. Fixes #465.
Merge pull request #471 from marco-c/test_aes

Add AES test