Test file is deleted