Integrated AES CMAC into bad library. Fixed mocha tests.