testvalidation for password field in registrationform