test .thrift file and client