note that it works with newer versions of Mocha as well.

I've tested with Mocha 1.20.1. Currently I get a warning when combining this with Mocha 1.20.1, and this change should address that.