added test for complex network