Added some utilities to interact with networkx, renamed test files so that they're valid python names