JUnit test coverage is working