docstr: Test wire order of a tensor product
code: def test_tensor_wire_oder(self):
      """Test wire order of a tensor product"""
      ham = qml.PauliZ(0) @ qml.PauliX(1)
      res = qml.matrix(ham, wire_order=[0, 2, 1])
      expected = np.kron(Z, np.kron(I, X))
      assert np.allclose(res, expected)
  
imports: from functools import reduce, partial
  from warnings import catch_warnings
  import pytest
  from gate_data import I, X, Y, Z, H, S, CNOT, Rotx, Roty
  import pennylane
  from pennylane import numpy
  from pennylane.transforms.op_transforms import OperationTransformError
label_desc: Use image node_id 1 for calling the TestCustomWireOrdering obj's underlying member method code with example usage: obj.test_tensor_wire_oder() without return types