Test file modification

Delete allocated memory & test for data allocation delete after unitializing