Created addEmptyDataset function and test.