add tests for dynamic query params