Fixed worker_pids test case.