code: def test_write_and_read_file(self):
      with tempfile.TemporaryDirectory() as test_dir:
          path = os.path.join(test_dir, "test.txt")
          content = "This is a sentence."
          io_utils.write_file(path, content)
          read_content = io_utils.read_file(path)
          self.assertEqual(content, read_content)
  
file_path: model-card-toolkit/model_card_toolkit/utils/io_utils_test.py
imports: import os
  import tempfile
  from absl.testing import absltest
  from model_card_toolkit.proto import model_card_pb2
  from model_card_toolkit.utils import io_utils
label_desc: Use image node_id 2 for calling the IoUtilsTest obj's underlying member method code with example usage: obj.test_write_and_read_file() without return types