code: def test_ema(self):
      # TODO: test correctness
      model = keras.Sequential([keras.layers.Dense(10)])
      model.compile(optimizer=Adam(use_ema=True), loss="mse")
      x = keras.ops.zeros((1, 5))
      y = keras.ops.zeros((1, 10))
      model.fit(x, y)
  
file_path: keras/keras/optimizers/adam_test.py
imports: import numpy
  import pytest
  import keras
  from keras import backend
  from keras import ops
  from keras import testing
  from keras.optimizers.adam import Adam
label_desc: Use image node_id 7 for calling the AdamTest obj's underlying member method code with example usage: obj.test_ema() without return types