code: def test_transform(self):
      gene = CorefGenerator(trans_methods=["RndInsert"], sub_methods=[])
      for original_samples, trans_rst, trans_type in gene.generate(
          dataset
      ):
          self.assertEqual(len(original_samples), len(trans_rst))
          for so, st in zip(original_samples, trans_rst):
              self.assertTrue(so.num_sentences() <= st.num_sentences())
  
imports: from textflint.generation.generator.coref_generator import CorefGenerator
  from textflint.input.dataset import Dataset
  import unittest
  from test.data.coref_debug import CorefDebug
label_desc: Use image node_id 1 for calling the TestRndInsert obj's underlying member method code with example usage: obj.test_transform() without return types