Fix tests by locking Mocha to v0.18.