Fix tests for the new mocha version

This broke things
https://github.com/visionmedia/mocha/compare/1.18.2...1.19.0#diff-e1bbd4f15e3b63427b4261e05b948ea8R10