Added mocha test