Fixed RSpec setup
Test factories and correct registration test