JUnit test controller