Fix elasticsearch

Fix test for Elasticsearch >=1.0 mapping response (based on PR #13)