Added more tests for creating graphs