Added tests for the EndEventSpy.