Unit test for fixed removeAllEdges, plus updated Javadoc