Ensure that the Heartbeat is working before we start testing

Elasticsearch wasn't quite ready when the tests were starting