unit test fix for event tests