Fix tests for event