added mockClient to test server