code: def test_indexing_interactions():
      assert (a * IM)[1, 1] == 5 * a
      assert (SM + IM)[1, 1] == SM[1, 1] + IM[1, 1]
      assert (SM * IM)[1, 1] == SM[1, 0] * IM[0, 1] + SM[1, 1] * IM[
          1, 1
      ] + SM[1, 2] * IM[2, 1]
  
file_path: sympy/sympy/matrices/tests/test_interactions.py
imports: from sympy.core.symbol import symbols
  from sympy.matrices import Matrix, MatrixSymbol, eye, Identity, ImmutableMatrix
  from sympy.matrices.expressions import MatrixExpr, MatAdd
  from sympy.matrices.matrixbase import classof
  from sympy.testing.pytest import raises
label_desc: Use image node_id 6 for calling a global function with example usage: test_indexing_interactions() without return types