code: def test_handles_are_independent():
      with TempMongo() as tm:
          t1 = tm.mongo_jobs("t1")
          t2 = tm.mongo_jobs("t2")
          assert len(t1) == 0
          assert len(t2) == 0
  
          # test that inserting into t1 doesn't affect t2
          t1.insert({"a": 7})
          assert len(t1) == 1
          assert len(t2) == 0
  
imports: import pickle
  import os
  import signal
  import subprocess
  import sys
  import traceback
  import threading
  import time
  import unittest
  import numpy
  import nose
  import nose.plugins.skip
  from hyperopt.base import JOB_STATE_DONE, STATUS_OK
  from hyperopt.mongoexp import parse_url
  from hyperopt.mongoexp import MongoTrials
  from hyperopt.mongoexp import MongoWorker
  from hyperopt.mongoexp import ReserveTimeout
  from hyperopt.mongoexp import as_mongo_str
  from hyperopt.mongoexp import main_worker_helper
  from hyperopt.mongoexp import MongoJobs
  from hyperopt.fmin import fmin
  from hyperopt import hp, rand
  import hyperopt.tests.test_base
  from hyperopt.tests.unit.test_domains import gauss_wave2
label_desc: Use image node_id 10 for calling a global function with example usage: test_handles_are_independent() without return types