Graph binary generation test (NOT WORKING)