fixed the searches_spec to handle async testing