added two more unit tests for sparse matrices