Unit test for Eulerian path finder.