added new test for registration with email check