test for new UrlMethod function