test with mocha