updated rspec controller tests