Fixing worker tests