add service xml
add test script for trees