Added an event and test to controller.