Fix for event test