Fix test: use request.params instead of params

This is because spalt and captures are injected to the params object