code: def test_extend_first(fx_asset):
      with Image(filename=str(fx_asset.joinpath("apple.ico"))) as a:
          instances = list(a.sequence)
          with Image(
              filename=str(fx_asset.joinpath("github.ico"))
          ) as b:
              a.sequence.extend(list(b.sequence)[::-1], 0)
              instances[:0] = list(b.sequence)[::-1]
              assert list(a.sequence) == instances
              expire(a)
              assert list(a.sequence) == instances
          assert len(a.sequence) == 6
  
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 20 for calling a global function with example usage: test_extend_first(fx_asset) without return types