Update AgentControllerTest.java

improving test cases for AgentController