Fixed and error in event_test example