Add ItemIdSet::getSerializations

Thanks, I will fix this. I remember playing around with some kind of "not empty" check in this test but it seems it got lost somehow.