Added test for query parameters