basic test of tree list writing