same as the controllertest