added test cases for Path object