CDK-664: Fix constraint over-encoding in view URIs

One more thing: this test should specify the expected URI, not just the view.getUri().toString(). We want to test that the URIs Kite produces have some expected form, not just that we can use them to recover the view.