tests for allNodes