Fixed tests using query params.