worked on JUnit Test