More tests on queries and query parameters