[BUGFIX beta] controllers w query params are unit testable

Closes #5078