All the function is doing is giving the length of `_smat`...so just confirming that you get a number that is correct from the function is sufficient:  `assert SparseMatrix.eye(2).nnz == 2`. This isn't tied to eye -- the eye method of SparseMatrix just returns a sparse version of eye(2).