added crosswith tests for checking existence and no duplicates for nodes/connections