reordered some code added test
wrong varname
4
missing import
test correct url
fixed tree_id
passing