add email validation to user model test