Add unit tests for mocha/node.js for aes