fix worker tests