Remove more unnecessary code in TestController.