Have tests read example tree from a generated file, rather than link it in.
This makes the tests more flexible to re-use for testing the output from
the write tests.
diff --git a/tests/nop_node.c b/tests/nop_node.c
index 86d5d63..df421c0 100644
--- a/tests/nop_node.c
+++ b/tests/nop_node.c
@@ -31,11 +31,12 @@
 
 int main(int argc, char *argv[])
 {
-	struct fdt_header *fdt = &_test_tree1;
+	struct fdt_header *fdt;
 	int subnode1_offset, subnode2_offset, subsubnode2_offset;
 	int err;
 
 	test_init(argc, argv);
+	fdt = load_blob_arg(argc, argv);
 
 	subnode1_offset = fdt_path_offset(fdt, "/subnode1");
 	if ((err = fdt_offset_error(subnode1_offset)))