Updated event handler test.