Added more test cases for controllers and services.