Added test for email case