I hate this stuff btw.  We need an intermediate layer that does the conversion from our own queries to the URLs, then we can test that to make sure it does the right thing, but all the other tests we write should just use a mock/stub of that so we're not writing URLs like this.