with mocha tests