Add test for deleting files