Testing random node pairs