rspec for search model and controller