AddChild test fix

`sortAllChildren` should not be part of the test.
It is tested separatedly on another test