emit the failed event onto the suite so the tests (before/after) can listen for it

implemented this in order to hook into the failed event for a test so that the afterEach can execute failed functionality