Making tests for errors on user registratoin form pass