Test tree correctly determines the amount of children