code: def test_pool_work_split_multiple_tasks(start_method):
      callbacks = [MockGroup.from_callback(simple_callback)]
      with create_pool(
          callbacks,
          keep_alive_queue_size=1,
          num_workers=2,
          start_method=start_method,
      ) as pool:
          num_tasks = 16
          pids = get_pids(pool)
          assert len(pids) == 2
          work_batch = TaskArgs.make_sample(
              SampleRange(0, num_tasks, 0, 0)
          )
          tasks = [(SampleInfo(i, i, 0, 0),) for i in range(num_tasks)]
          pool.schedule_batch(context_i=0, work_batch=work_batch)
          batch = pool.receive_batch(context_i=0)
          for task, sample in zip(tasks, batch):
              np.testing.assert_array_equal(
                  answer(-1, *task)[1:], sample[1:]
              )
  
imports: from nvidia.dali._multiproc.pool import WorkerPool
  from nvidia.dali._multiproc.messages import TaskArgs, SampleRange
  from contextlib import closing
  from nvidia.dali._utils.external_source_impl import get_callback_from_source
  from nvidia.dali.types import SampleInfo
  from functools import wraps
  import numpy
  import os
  from nose.tools import with_setup
  from nose_utils import raises
  from test_pool_utils import capture_processes, setup_function, teardown_function
label_desc: Use image node_id 11 for calling a global function with example usage: test_pool_work_split_multiple_tasks(start_method) without return types