agent: test max retries in config