added JUnit-Tests for some classes