created rspec tests for the new search params helpers.