modified label pair test since LabelPair changed to a vector