Add test for removing output directory on extract fail