Added test for deleting files