tests for ordered nodes