change test of RegistrationIdentity
add test without pass and pass2