CDK-676: Avoid relying on order in URIBuilder tests.

The test now has a method to determine whether two view URIs are
equivalent, even if query args are reordered.