Added test for worker