Added Test Class for SparseMatrix class