code: def test_single_job_with_nonsense_shell(batch):
      b = batch
      j = b.new_job(shell="/bin/ajdsfoijasidojf")
      j.image(DOCKER_ROOT_IMAGE)
      j.command(f'printf "hello"')
      with pytest.raises(Exception):
          b.run()
  
      b = batch
      j = b.new_job(shell="/bin/nonexistent")
      j.command(f'printf "hello"')
      with pytest.raises(Exception):
          b.run()
  
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 7 for calling a global function with example usage: test_single_job_with_nonsense_shell(batch) without return types