Improve coverage (UserRegistrationFactoryTest)