Event handler test updated.