Make addLink tests pass.