Added auto test for in-degree cal