Add PathToRegexp tests.