added rspec-rails gem
added tests