Fix the helpers tests.
Fix the helpers tests.

ES doesn't guarantee that refresh will wait for cluster state
propagation and thus the type might not exist right after the index
being created during the bulk load. Just check the documents instead.

gardsted/elasticsearch-py,veatch/elasticsearch-py,brunobell/elasticsearch-py,kelp404/elasticsearch-py,liuyi1112/elasticsearch-py,Garrett-R/elasticsearch-py,konradkonrad/elasticsearch-py,elastic/elasticsearch-py,brunobell/elasticsearch-py,mjhennig/elasticsearch-py,tailhook/elasticsearch-py,elastic/elasticsearch-py,prinsherbert/elasticsearch-py,AlexMaskovyak/elasticsearch-py,thomdixon/elasticsearch-py,chrisseto/elasticsearch-py