code: def test_get_history(self):
      msg_ids = self.db.get_history()
      latest = datetime(1984, 1, 1).replace(tzinfo=utc)
      for msg_id in msg_ids:
          rec = self.db.get_record(msg_id)
          newt = rec["submitted"]
          assert newt >= latest
          latest = newt
      msg_id = self.load_records(1)[-1]
      assert self.db.get_history()[-1] == msg_id
  
imports: import logging
  import os
  import tempfile
  import time
  from datetime import datetime, timedelta
  from unittest import TestCase
  import pytest
  from jupyter_client.session import Session
  from ipyparallel import util
  from ipyparallel.controller.dictdb import DictDB
  from ipyparallel.controller.hub import init_record
  from ipyparallel.controller.sqlitedb import SQLiteDB
  from ipyparallel.util import utc
label_desc: Use image node_id 12 for calling the TaskDBTest obj's underlying member method code with example usage: obj.test_get_history() without return types