fix simple-agent test