added some JUnit test classes