code: def test_model_to_dict():
      model = Sequential()
      model.build((1,))
      dict_model = serialization.model_to_dict(model)
      assert list(dict_model.keys()) == ["model", "weights"]
  
imports: import pytest
  from tensorflow.keras.models import Sequential
  from elephas.utils import serialization
label_desc: Use image node_id 1 for calling a global function with example usage: test_model_to_dict() without return types