Change wrong event field in EditEventHandler. Add tests for event handlers.