code: def test_random_access(test_images, tmp_path):
      im1 = iio.imread(test_images / "chelsea.png")
      ims1 = [im1, im1 * 0.8, im1 * 0.5]
  
      fname = tmp_path / "chelseam.bsdf"
      iio.mimsave(fname, ims1)
  
      r = iio.get_reader(fname)
  
      for i in (1, 0, 2, 0, 1, 2):
          assert np.all(ims1[i] == r.get_data(i))
  
file_path: imageio/tests/test_bsdf.py
imports: import numpy
  from pytest import raises
  from imageio import core
  import imageio.v2
  from imageio.plugins import _bsdf
  import pytest
  import sys
  from conftest import deprecated_test
label_desc: Use image node_id 6 for calling a global function with example usage: test_random_access(test_images, tmp_path) without return types