Added unit tests for EndEventAssert.