Added a test to check access to client query params

It fails with the current upstream client! There is a pending PR to
make this test pass though.