added rspec for model and controller