agent contact: small improvement validators
added test cases for validation