Modified test case 3 for DirectGraphUnitTest