rspec tests covering controller