Extract and test #smart_request_url_once