test rm dir