Use edgelist as input for funnel, improve unit-tests.