test to JUnit