integrate JUnit tests