adding mocha test