Do you want to be testing to see whether the SR references are the same or the uuids? I would have thought uuid would be better in that I can see a way to ensuring this is the same between pools, whereas I can't see how the references would ever be the same.