Update AgentControllerTest.java

adding test case for faction