code: def test_insert(fx_asset):
      with Image(filename=str(fx_asset.joinpath("apple.ico"))) as imga:
          instances = [imga.sequence[i] for i in range(2, 4)]
          assert len(imga.sequence) == 4
          with Image(
              filename=str(fx_asset.joinpath("github.ico"))
          ) as imgg:
              imga.sequence.insert(2, imgg)
              assert imga.sequence[2] == imgg.sequence[0]
              assert len(imga.sequence) == 5
              for i, instance in enumerate(instances):
                  assert instance == imga.sequence[3 + i]
              expire(imga)
              assert imga.sequence[2] == imgg.sequence[0]
          for i, instance in enumerate(instances):
              assert instance == imga.sequence[3 + i]
          with raises(TypeError):
              imga.sequence.insert(0xDEADBEEF)
  
imports: from __future__ import print_function
  from pytest import mark, raises
  from wand.api import library
  from wand.image import Image
label_desc: Use image node_id 14 for calling a global function with example usage: test_insert(fx_asset) without return types