Integrate JUnit tests