Write unit test for deltion of Data