code: def test_forward_backward_with_history(self):
      model = SessionRecommender(30, 5, [10, 5], 2, True, [6, 3], 5)
      input_data = [
          np.random.randint(1, 30, size=(10, 2)),
          np.random.randint(1, 30, size=(10, 5)),
      ]
      self.assert_forward_backward(model, input_data)
  
file_path: analytics-zoo/pyzoo/test/zoo/models/recommendation/test_sessionrecommender.py
imports: import pytest
  import random
  from zoo.pipeline.api.keras.layers import *
  from zoo.models.recommendation import SessionRecommender
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
label_desc: Use image node_id 2 for calling the TestSessionRecommender obj's underlying member method code with example usage: obj.test_forward_backward_with_history() without return types