port unicode tests to urllib3 handling