Added test for nodes with zero degree.