tested the path on UriInfo while it should have been testing the uri's path