Added validation test for email case