Amended Workers manager and added its tests