added test for sparse data layer