Added thrift in tests