Fixing test cases for the ValidateWorkerInfo