test overlap of relationship