Fixed mocha test runner