Add a delete_indices helper to delete all indices during tests.

not necessary I guess (a lot of default values everywhere)