add tests for _extract_url_string