Add test for ZIP directory handling