junit test for controller