updated DeployPieceHelper & Test