associate all temp edges with a routing context. fix tests.