Improve test coverage on agentil_system