sparsify test: add multi-class test too