tests with jgrapht