fix RegistrationControllerTest