Add use of client.params to test (See gh-2462)

All the metadata associated with a given script context
is contained in the `client.params` object during execution.
Any inspection that needs to happen on what should have or
should not have been passed to the client can be done with it.