tests are now indifferent to ordering of query keys