updated test for email