Test to show incorrect behaviour of shortestPathTo - github issue #9