Added some tests for the new interfaces of unweighted Graph.