Add tests for emptying a dataset