added test/registration_spec.rb