Insert tests for Graph class