added a JUnit test suite