add test to fix the category_id issue in search_params
add better tests
fix categoryId parameter in #search_params which is used by #search and #next_page