testing deletion of file