Fix ElasticSearch test_search unit test