Unit Test for the dataset delete function