test deletes merged file