From http://visionmedia.github.io/mocha/