BUG: util.testing.makeCustomIndex dies when nlevels > nentries