Add test for non-deletion of file