fix unittests for forest's copyconstructor