Engine: Fixes #3621 - ElasticSearch tests