fixes test broken in commit 4e1fcfe
Merge pull request #828 from trliner/fix_broken_worker_test

Fixes test broken in commit 4e1fcfe