[BUGFIX beta] controllers w query params are unit testable

Closes #5078
Merge pull request #5311 from machty/unit-test-qp

[BUGFIX beta] controllers w query params are unit testable