added JUnit test case for Path Calculator