Getting row of sparse_matrix type passes test