test and fixes to support files with unknown part types
future proofing: test for version!=1 deep images