more tests for GraphOperations, better documentation