bug fix in worker test