Add tests for SparseM. Fix #54