fix file stat and zip test