add thrift test case