code: def test_insert():
      doc = fitz.open()
      page = doc.new_page()
      r1 = fitz.Rect(50, 50, 100, 100)
      r2 = fitz.Rect(50, 150, 200, 400)
      page.insert_image(r1, filename=imgfile)
      page.insert_image(r2, filename=imgfile, rotate=270)
      info_list = page.get_image_info()
      assert len(info_list) == 2
      bbox1 = fitz.Rect(info_list[0]["bbox"])
      bbox2 = fitz.Rect(info_list[1]["bbox"])
      assert bbox1 in r1
      assert bbox2 in r2
  
imports: import json
  import os
  import fitz
label_desc: Use image node_id 1 for calling a global function with example usage: test_insert() without return types