query param generation tests