Add test for email validation