Add symmetry tests for sparse matrices