Passing tests for registration form errors