Set up mocha test failure to fail the build