Add a delete_indices helper to delete all indices during tests.

We shouldn't use the default for tests.