code: def test_insert(self):
      a1 = sample1
      a81 = a1.replace_field_at_indices("x", [0], ["$"])
      a82 = a1.replace_field_at_indices(
          "x", [0, [2, 4], [7, 8]], ["$", ["wang", "xiao"], "fDu"]
      )
      self.assertEqual(
          a81.dump(),
          {
              "doc_key": "doc_key1",
              "sentences": [
                  ["$", "love", "my", "pet", "Anna", "."],
                  ["She", "is", "my", "favorite", "."],
              ],
              "speakers": [
                  ["sp_repl", "sp1", "sp1", "sp1", "sp1", "sp1"],
                  ["sp1", "sp1", "sp1", "sp1", "sp1"],
              ],
              "clusters": [[[2, 3], [4, 4], [6, 6]]],
              "constituents": [
                  [0, 0, "0-I-C"],
                  [1, 1, "1-love-C"],
                  [2, 2, "2-my-C"],
                  [3, 3, "3-pet-C"],
                  [4, 4, "4-Anna-C"],
                  [5, 5, "5-.-C"],
                  [6, 6, "6-She-C"],
                  [7, 7, "7-is-C"],
                  [8, 8, "8-my-C"],
                  [9, 9, "9-favorite-C"],
                  [10, 10, "10-.-C"],
              ],
              "ner": [
                  [0, 0, "0-I-N"],
                  [1, 1, "1-love-N"],
                  [2, 2, "2-my-N"],
                  [3, 3, "3-pet-N"],
                  [4, 4, "4-Anna-N"],
                  [5, 5, "5-.-N"],
                  [6, 6, "6-She-N"],
                  [7, 7, "7-is-N"],
                  [8, 8, "8-my-N"],
                  [9, 9, "9-favorite-N"],
                  [10, 10, "10-.-N"],
              ],
              "sample_id": None,
          },
      )
      self.assertEqual(
          a82.dump(),
          {
              "doc_key": "doc_key1",
              "sentences": [
                  ["$", "love", "wang", "xiao", "Anna", "."],
                  ["She", "fDu", "my", "favorite", "."],
              ],
              "speakers": [
                  [
                      "sp_repl",
                      "sp1",
                      "sp_repl",
                      "sp_repl",
                      "sp1",
                      "sp1",
                  ],
                  ["sp1", "sp_repl", "sp1", "sp1", "sp1"],
              ],
              "clusters": [[[2, 3], [4, 4], [6, 6]]],
              "constituents": [
                  [0, 0, "0-I-C"],
                  [1, 1, "1-love-C"],
                  [2, 2, "2-my-C"],
                  [3, 3, "3-pet-C"],
                  [4, 4, "4-Anna-C"],
                  [5, 5, "5-.-C"],
                  [6, 6, "6-She-C"],
                  [7, 7, "7-is-C"],
                  [8, 8, "8-my-C"],
                  [9, 9, "9-favorite-C"],
                  [10, 10, "10-.-C"],
              ],
              "ner": [
                  [0, 0, "0-I-N"],
                  [1, 1, "1-love-N"],
                  [2, 2, "2-my-N"],
                  [3, 3, "3-pet-N"],
                  [4, 4, "4-Anna-N"],
                  [5, 5, "5-.-N"],
                  [6, 6, "6-She-N"],
                  [7, 7, "7-is-N"],
                  [8, 8, "8-my-N"],
                  [9, 9, "9-favorite-N"],
                  [10, 10, "10-.-N"],
              ],
              "sample_id": None,
          },
      )
  
file_path: textflint/test/input/component/sample/test_coref_sample.py
imports: from textflint.input.component.sample.coref_sample import *
  import unittest
  import random
  from test.data.coref_debug import CorefDebug
label_desc: Use image node_id 10 for calling the TestCorefSample obj's underlying member method code with example usage: obj.test_insert() without return types