finished tests for _create and _graph