Graph add node, and tests.