updated DeployPieceHelperTest