#0007 level will be finished when all edges are visited
#0007 Refactored tests to make it independent of data