Added test data and test for sparse batching.