Flip arguments of Router#_pathHasRoot() method and fix unit test