small test on graph loading and topological sorting