add tests for custom routing and default merchant query set filtering