code: def test_tiff_page_writing():
      # regression test for
      # https://github.com/imageio/imageio/issues/849
      base_image = np.full((256, 256, 3), 42, dtype=np.uint8)
  
      buffer = io.BytesIO()
      iio.imwrite(buffer, base_image, extension=".tiff")
      buffer.seek(0)
  
      with tifffile.TiffFile(buffer) as file:
          assert len(file.pages) == 1
  
imports: import datetime
  import numpy
  import pytest
  import io
  from copy import deepcopy
  import struct
  import imageio.v3
  from imageio.config import known_plugins, known_extensions
label_desc: Use image node_id 14 for calling a global function with example usage: test_tiff_page_writing() without return types