fix unittest for ControllerTest