add rspec for controller