code: def test_single_job_w_input(batch):
      with tempfile.NamedTemporaryFile(
          "w"
      ) as input_file, tempfile.NamedTemporaryFile("w") as output_file:
          msg = "abc"
          input_file.write(msg)
          input_file.flush()
  
          b = batch
          input = b.read_input(input_file.name)
          j = b.new_job()
          j.command(f"cat {input} > {j.ofile}")
          b.write_output(j.ofile, output_file.name)
          b.run()
  
          assert open(output_file.name).read() == msg
  
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 9 for calling a global function with example usage: test_single_job_w_input(batch) without return types