fixed the worker's testing cases