AgentUpgradeStep单元测试&&Bug Fixed