test for random large graph