Unit tested MinIndexMap