Validations and tests for agent detail