Added Mocha tests
Added Mocha tests