Making tests for errors on user registration form pass