test thrift