invalid email is a string that doesn't have @ and .com right? so pass something into email like "invalidemail" and for the valid email "valid@email.com" and see how you can test the validations for that