Elasticsearch Java API Examples and Unit Testing