Making user registration tests pass