fix urlencode_data unit test.