Fixed bug in routeEdges function.

Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
Made routing tests more rigorous.
Added timing to tests.

Signed-off-by: Ted Steiner <tsteiner2@gmail.com>