[PATCH v2 17/45] test: Make a copy of the device tree before running a test