Added equals methods to Pair and InfoPacket
this makes testing easier