code: def test_pair_word_insertion(self, attacked_text_pair):
      new_text = attacked_text_pair.insert_text_after_word_index(
          3, "old decrepit"
      )
      assert new_text.text == (
          "Among these are the old decrepit red brick Royal Palace, which now houses the Patan Museum (Nepal's finest and most modern museum), and, facing the palace across the narrow brick plaza, eight temples of different styles and sizes."
          + "\n"
          + "The Patan Museum is down the street from the red brick Royal Palace."
      )
      new_text = new_text.insert_text_after_word_index(37, "and shapes")
      assert new_text.text == (
          "Among these are the old decrepit red brick Royal Palace, which now houses the Patan Museum (Nepal's finest and most modern museum), and, facing the palace across the narrow brick plaza, eight temples of different styles and sizes and shapes."
          + "\n"
          + "The Patan Museum is down the street from the red brick Royal Palace."
      )
      new_text = new_text.insert_text_after_word_index(40, "The")
      assert new_text.text == (
          "Among these are the old decrepit red brick Royal Palace, which now houses the Patan Museum (Nepal's finest and most modern museum), and, facing the palace across the narrow brick plaza, eight temples of different styles and sizes and shapes."
          + "\n"
          + "The The Patan Museum is down the street from the red brick Royal Palace."
      )
  
imports: import collections
  import pytest
label_desc: Use image node_id 13 for calling the TestAttackedText obj's underlying member method code with example usage: obj.test_pair_word_insertion(attacked_text_pair) without return types