ENG-5027 Index clearing working in a unit test.