Fix and test extracting modules from zip files