more complex tests for email validation
added regex in email validation to validate format