Complete tests for base `graph` package.