refactoring of Path methods and more unit tests for Path; only 4 failing