Tests for idrefsHasCorrespondingId