fix running mocha test from console