fix deleting uploaded file tests