Fixes to tests in the Search endpoint package
Fixes to tests in the Search endpoint package