corrections to unit test for Worker classes