added test case to TestController.java