Fix broken build due to unstubbed query params

For Stefan Penner.

/cc @rjackson