Created test utility for genrating random graphs