[tree] closes #814
[tests] update a test based on #814