added scenario for checking for invalid email address