fixed failure test for delete_agent_token