reformat client_test.go