Added another test for the path() method