Add (failing) test for 'has-edge?'
Fix type issue with 'has-edge?'