Tests for URL with precomposed query