Working JUnit test