test client and protobuf