test for sparse data