adding a test unit for issue #490 in addition to completing the SparseDataset class