code: def test_app():
      for test_file in test_files:
          # Test APP/COM reader (@PIL135)
          with Image.open(test_file) as im:
              assert im.applist[0][0] == "APP1"
              assert im.applist[1][0] == "APP2"
              assert (
                  im.applist[1][1][:16]
                  == b"MPF\x00MM\x00*\x00\x00\x00\x08\x00\x03\xb0\x00"
              )
              assert len(im.applist) == 2
  
imports: from io import BytesIO
  import pytest
  from PIL import Image
  from .helper import assert_image_similar, is_pypy, skip_unless_feature
label_desc: Use image node_id 6 for calling a global function with example usage: test_app() without return types