Rspec tests for Course controller