added controller rspec tests