code: def test_to_list():
      assert to_list(123) == [123]
      assert to_list((1, 2, 3)) == [1, 2, 3]
      assert to_list([1, 2, 3]) == [1, 2, 3]
  
imports: import pytest
  import mxnet
  from mxnet import nd
  import numpy
  from rl_coach.architectures.mxnet_components.utils import *
label_desc: Use image node_id 9 for calling a global function with example usage: test_to_list() without return types