Ensure mongodb indices for test runs.