Add email validator to registration. Add test case for valid email.