add zip test and fix zip extract; some misc fixes