Make the getNodeToLinks tests pass.