Test server with thrift