b91674799b
mocha loads all the tests in same process. This means that when we start a new test, the old state still persists. For event listeners, this means that they get multiple duplicate event handlers.