JUnit tests (first draft)