added better regex for email tests