getNextIdentifier test
getNextIdentifier supplying many ids if asked