fix downloadDir with deleteRemoved and add test