clean upload and extract directories before test