tree: test copy_from and fill with reset