Merge pull request #421 from ndawe/master

[MRG] tree: test copy_from and fill with reset