Comparison tests for write_url().