copy of test_root