code: def test_hyperparameter_existence_and_hp_defaults_rand_aug():
      hp = hp_module.HyperParameters()
      hm = aug_module.HyperImageAugment(
          input_shape=(32, 32, 3), augment_layers=[2, 5], contrast=False
      )
      hm.build(hp)
      assert hp.get("augment_layers") == 2
  
file_path: keras-tuner/keras_tuner/applications/augment_test.py
imports: import numpy
  import pytest
  from keras_tuner.applications import augment
  from keras_tuner.backend import config
  from keras_tuner.backend import keras
  from keras_tuner.engine import hyperparameters
label_desc: Use image node_id 7 for calling a global function with example usage: test_hyperparameter_existence_and_hp_defaults_rand_aug() without return types