Making tests for erros on user registration form pass