setup and teardown tasks for elasticsearch index