Why not having a txt file with indented tree, a bootstrap function that parses the file and creates the tree and a test for that function?
You will have proper diff for the tree this way.
You will have proper diff for the tree this way.
But mainly because, as you acknowledge, that process needs its own tests. Basic unzipping functionality is already tested for me.