added JUnit test for DotClasspathReader class
minor refactoring