added worker life-cycle test