code: def foo(x, sleep_time):
      """Dummy function for the tests"""
      time.sleep(sleep_time)
      return [{"type": "objective", "name": "objective", "value": x}]
  
imports: import argparse
  import contextlib
  import multiprocessing
  import subprocess
  import sys
  import time
  from collections import defaultdict, namedtuple
  import bson
  import numpy
  from ptera import probing
  from orion.client import build_experiment
  from orion.client.runner import Runner
  from orion.core.io.database.pickleddb import PickledDB
  from orion.testing import OrionState
label_desc: Use image node_id 1 for calling a global function with example usage: foo(x, sleep_time) and returns: list