update test-client for nil client