Test file deletion