delete agent test