fixed save_search_api.delete call to populate result object properly and updated test