Improve stability of the testNodesInfos test