Refactoring: moved graph import logic from unit test to separate class
Modified simple test data to contain consistent values for degrees and number of edges