testing deletion of directories