make client_test pass