refactored tests to better follow business requirements on AES encryption