worker mgr unit tests