Refactor search -> _search_parameters
Remove test_search, just test _search_params