added controllerTest