Fixed #19: Changed type hinting for event objects passed to the test listeners.