Implement UrlEncode test to document usage.