code: def test_training_with_loss_metrics(self):
      model = Sequential()
      model.add(
          Dense(
              8,
              input_shape=(
                  32,
                  32,
              ),
          )
      )
      model.add(Flatten())
      model.add(Dense(4, activation="softmax"))
      X_train = np.random.random([200, 32, 32])
      y_train = np.random.randint(4, size=(200,))
      X_test = np.random.random([40, 32, 32])
      y_test = np.random.randint(4, size=(40,))
      model.compile(
          optimizer="adam",
          loss="sparse_categorical_crossentropy",
          metrics=["accuracy", "loss"],
      )
      model.fit(X_train, y_train, validation_data=(X_test, y_test))
  
imports: import pytest
  import shutil
  from zoo.feature.common import ChainedPreprocessing
  from zoo.feature.image import *
  from zoo.pipeline.api.keras.layers import *
  from zoo.pipeline.api.keras.models import *
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
label_desc: Use image node_id 19 for calling the TestSimpleIntegration obj's underlying member method code with example usage: obj.test_training_with_loss_metrics() without return types