Add $index->refresh() to test to make sure, index always is ready