code: def test_pool_imap(self):
      pool = Pool(4)
      res_iter = pool.imap(f, [x for x in range(100)], 1)
      res = list(res_iter)
      assert res == [x * x for x in range(100)]
  
      res_iter = pool.imap_unordered(f, [x for x in range(100)], 1)
      res = list(res_iter)
      assert len(res) == 100
      res.sort()
      assert res == [x * x for x in range(100)]
  
      pool.terminate()
      pool.join()
  
imports: import os
  import time
  from fiber import Pool, SimpleQueue
  import fiber
  import pytest
  import docker
  import threading
  import random
  import fiber.config
label_desc: Use image node_id 5 for calling the TestPool obj's underlying member method code with example usage: obj.test_pool_imap() without return types