change test file to consider order of nodes