better test for invalidating hasMany when links change