This logic isn't right, it's currently equivalent to ``rev.values()[0][1]``, but it needs to take account of all reverse links here. Probably:

    if (rel.name, rel.value) in rev_item.rev.values():

We really need one test that checks that the experiment is included in add_dependent_objects when run against the uuid for a replicate.