store indexes in memory while testing