fixed failing unit test for Path.  validity check was incorrect