Removed test case in run_search

- Closed the multiprocessing queues properly