adding JUnit Tests