Added model tests and validations for email addresses