added test for vartree array
some docs
docs