Basic tree copying test