Moved RegisterForm validation tests