added rspec & factorygirl tests