re #19 fix #19 Fixing bug where zip will zip directories that do not exist. Added an extra test for it as well