JUnit tests.