Making tests for user registrations pass