code: def test_add_record(self):
      before = self.db.get_history()
      self.load_records(5)
      after = self.db.get_history()
      assert len(after) == len(before) + 5
      assert after[:-5] == before
  
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 4 for calling the TaskDBTest obj's underlying member method code with example usage: obj.test_add_record() without return types