code: def test_multiple_isolated_jobs(batch):
      b = batch
  
      output_files = []
      try:
          output_files = [
              tempfile.NamedTemporaryFile("w") for _ in range(5)
          ]
  
          for i, ofile in enumerate(output_files):
              msg = f"hello world {i}"
              j = b.new_job()
              j.command(f'printf "{msg}" > {j.ofile}')
              b.write_output(j.ofile, ofile.name)
          b.run()
  
          for i, ofile in enumerate(output_files):
              msg = f"hello world {i}"
              assert open(ofile.name).read() == msg
      finally:
          [ofile.close() for ofile in output_files]
  
imports: from typing import AsyncIterator
  import os
  import pytest
  import subprocess
  import tempfile
  from hailtop import pip_version
  from hailtop.batch import Batch, LocalBackend, ResourceGroup
  from hailtop.batch.resource import JobResourceFile
  from hailtop.batch.utils import concatenate
label_desc: Use image node_id 17 for calling a global function with example usage: test_multiple_isolated_jobs(batch) without return types