Integration test with query parameters fix