removed testing.tmpfile.write_tree()