Test add_query_arg() when used with only a query string. see #4903. see #23284.