JUnit Test controller