Eulerian Graph test