Simple test for graph implementation.