Made ElasticSearch test suite more robust in case the elasticsearch server is not available