tests for basic graph initialization