rspec tests on controller