Fixes #7 based on comment of visionmedia/mocha#502

Ref: https://github.com/visionmedia/mocha/issues/502#issuecomment-12719219