Fix URL-related tests so they don't die on non-ASCII characters.

aka "I… I… It's… Lü Bu!"