UrlConfig support, tests, improvements