code: def test_mod():
      if not np:
          skip("NumPy not installed")
  
      e = Mod(a, b)
      f = lambdify((a, b), e)
  
      a_ = np.array([0, 1, 2, 3])
      b_ = 2
      assert np.array_equal(f(a_, b_), [0, 1, 0, 1])
  
      a_ = np.array([0, 1, 2, 3])
      b_ = np.array([2, 2, 2, 2])
      assert np.array_equal(f(a_, b_), [0, 1, 0, 1])
  
      a_ = np.array([2, 3, 4, 5])
      b_ = np.array([2, 3, 4, 5])
      assert np.array_equal(f(a_, b_), [0, 0, 0, 0])
  
imports: from sympy.concrete.summations import Sum
  from sympy.core.mod import Mod
  from sympy.core.relational import Equality, Unequality
  from sympy.core.symbol import Symbol
  from sympy.functions.elementary.miscellaneous import sqrt
  from sympy.functions.elementary.piecewise import Piecewise
  from sympy.functions.special.gamma_functions import polygamma
  from sympy.functions.special.error_functions import Si, Ci
  from sympy.matrices.expressions.blockmatrix import BlockMatrix
  from sympy.matrices.expressions.matexpr import MatrixSymbol
  from sympy.matrices.expressions.special import Identity
  from sympy.utilities.lambdify import lambdify
  from sympy.abc import x, i, j, a, b, c, d
  from sympy.core import Pow
  from sympy.codegen.matrix_nodes import MatrixSolve
  from sympy.codegen.numpy_nodes import logaddexp, logaddexp2
  from sympy.codegen.cfunctions import log1p, expm1, hypot, log10, exp2, log2, Sqrt
  from sympy.tensor.array import Array
  from sympy.tensor.array.expressions.array_expressions import ArrayTensorProduct, ArrayAdd, PermuteDims, ArrayDiagonal
  from sympy.printing.numpy import NumPyPrinter, SciPyPrinter, _numpy_known_constants, _numpy_known_functions, _scipy_known_constants, _scipy_known_functions
  from sympy.tensor.array.expressions.from_matrix_to_array import convert_matrix_to_array
  from sympy.testing.pytest import skip, raises
  from sympy.external import import_module
label_desc: Use image node_id 8 for calling a global function with example usage: test_mod() without return types