add test for worker