Test for JUnit