write child depth to xml
add uc test