add test for killAllWorkers