with mocha tests I can debug