Tested cancelEvent.