Added test for click in controller