Tests for ThriftClient