Updated test_sparse_predict_sampler