Test for issue #2366
Closed issue #2366
Merge branch 'orientdb-2366-dijkstra' into 1.7.1