Add a test to check whether the embedded ES server creates an index.