working on mocha test