Add tests for ElasticsearchServices