Added test for max number of entries in the index