remove some commented code in the agent test