fixed the searches_spec to handle async testing
Merge pull request #77 from benoitmangili/searches_spec_asynch

fixed the searches_spec to handle async testing