fix test for new version of JSON
use Search::Elasticsearch, tested with 1.1.1