check if source and dest are not already linked

Comment says "An association is inferred only if another relation between the two classes is not already in the graph" but test is missing.