code: def test_query_tasks(self):
      task = self.dal.task.create(Task(self.task_input_dict))
  
      assert len(self.dal.task.query({"id": task.id})) == 1
      _ = self.dal.task.create(Task(self.task_input_dict))
      assert (
          len(
              self.dal.task.query(
                  {"command": self.task_input_dict["command"]}
              )
          )
          == 2
      )
  
imports: from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import os
  import tempfile
  import platform
  from datetime import datetime
  from datmo.core.storage.driver.blitzdb_dal_driver import BlitzDBDALDriver
  from datmo.core.storage.local.dal import LocalDAL
  from datmo.core.entity.model import Model
  from datmo.core.entity.task import Task
  from datmo.core.util.exceptions import EntityNotFound, InvalidArgumentType
label_desc: Use image node_id 9 for calling the TestLocalDAL obj's underlying member method code with example usage: obj.test_query_tasks() without return types