use urlsplit and urlunsplit instead of *parse
test equivalence of URLs