unit testing for QDataset