allow using of non-loaded collections when referring to them from an edge collection
added more tests for edge creation