Added test for invalid email address.