Test query parameters value rather than formatting

@alexmuller
@maxfliri