Allow client options to be configured in tests.

Writing some functional tests for a bundle (instead of an app) and I need to be able to configure test cases to have different client options.

I made this change given getServerParameters() is already there - if this is undesired I can just override initializeClient() instead.