added test to check for email