def METHOD_NAME():
  # -- Configure the argument parser
  parser = argparse.ArgumentParser(formatter_class=RawDescriptionHelpFormatter, description='description:\n  Unit test wrapper for the various binary image sections')
  parser.add_argument('--resource-dir', nargs='?', default=".", help='directory containing data to be used by this unit test')
  args = parser.parse_args()
  # Validate that the resource directory is valid
  if not os.path.exists(args.resource_dir):
      raise Exception("Error: The resource-dir '" + args.resource_dir +"' does not exist")
  if not os.path.isdir(args.resource_dir):
      raise Exception("Error: The resource-dir '" + args.resource_dir +"' is not a directory")
  # Prepare for testing
  xclbinutil = "xclbinutil"
  # Start the tests
  print ("Starting test")
  # ---------------------------------------------------------------------------
  step = "1) Test Read / Writting of the Binary OVERLAY section"
  inputImage = os.path.join(args.resource_dir, "testimage.txt")
  outputImage = "overlay_image.txt"
  cmd = [xclbinutil, 
         "--add-section", "OVERLAY:RAW:" + inputImage, 
         "--dump-section", "OVERLAY:RAW:" + outputImage, 
         "--force"]
  execCmd(step, cmd)
  # Validate that the round trip files are identical
  binaryFileCompare(inputImage, outputImage)
  # ---------------------------------------------------------------------------
  step = "2) Test Read / Writting of the BITSTREAM section"
  inputImage = os.path.join(args.resource_dir, "testimage.txt")
  outputImage = "bitstream_image.txt"
  cmd = [xclbinutil, 
         "--add-section", "BITSTREAM:RAW:" + inputImage, 
         "--dump-section", "BITSTREAM:RAW:" + outputImage, 
         "--force"]
  execCmd(step, cmd)
  # Validate that the round trip files are identical
  binaryFileCompare(inputImage, outputImage)
  # ---------------------------------------------------------------------------
  step = "3) Test Read / Writting of the PDI section"
  inputImage = os.path.join(args.resource_dir, "testimage.txt")
  outputImage = "pdi_output.txt"
  cmd = [xclbinutil, 
         "--add-section", "PDI:RAW:" + inputImage, 
         "--dump-section", "PDI:RAW:" + outputImage, 
         "--force"]
  execCmd(step, cmd)
  # Validate that the round trip files are identical
  binaryFileCompare(inputImage, outputImage)
  # ---------------------------------------------------------------------------
  step = "4) Test Read / Writting of the USER_METADATA section"
  inputImage = os.path.join(args.resource_dir, "testimage.txt")
  outputImage = "user_output.txt"
  cmd = [xclbinutil, 
         "--add-section", "USER_METADATA:RAW:" + inputImage,
         "--dump-section", "USER_METADATA:RAW:" + outputImage, 
         "--force"]
  execCmd(step, cmd)
  # Validate that the round trip files are identical
  binaryFileCompare(inputImage, outputImage)
  # ---------------------------------------------------------------------------
  step = "5) Test Read / Writting of the AIE_RESOURCES section"
  inputImage = os.path.join(args.resource_dir, "testimage.txt")
  outputImage = "aie_resources_output.txt"
  cmd = [xclbinutil, 
         "--add-section", "AIE_RESOURCES:RAW:" + inputImage, 
         "--dump-section", "AIE_RESOURCES:RAW:" + outputImage, 
         "--force"]
  execCmd(step, cmd)
  # Validate that the round trip files are identical
  binaryFileCompare(inputImage, outputImage)
  # ---------------------------------------------------------------------------
  # If the code gets this far, all is good.
  return False