Helper classes for JUnit tests