updated test package with JUnit tests.