added tests for support of connections with the same entity type but different inbound and outbound paths