Hook in a factory and add ElasticSearch config properties, still some tests failing.