fromCollection(edges) implemented and tested