Created test for PathToRegexp