add test for min number of entries and max number of entries