Add tests for verticesByDegree{Asc,Desc}