Allow use of Mocha's bail flag to stop tests at the first failure

The tests take a long time to run, and in development you don't necessarily want to wait for everything to finish to get the failure details.