Add event handler test.