code: def test_unexpected_key():
      with pytest.raises(ValueError):
          rand(10, 10, chunks=5)
  
      with pytest.raises(ValueError):
          randn(10, 10, chunks=5)
  
file_path: mars/mars/tensor/random/tests/test_random.py
imports: import numpy
  import pytest
  from ....core import tile
  from ....serialization import serialize, deserialize
  from ....serialization.serializables import Serializable
  from ...datasource import tensor
  from ..None import beta, rand, choice, multivariate_normal, randint, randn, permutation, TensorPermutation, shuffle, RandomState
  from ..core import RandomStateField
label_desc: Use image node_id 7 for calling a global function with example usage: test_unexpected_key() without return types