Base for Thrift Tests.