generalising tests -- edges can now also hold Ord values