code: def test_add_default_tests(self):
      # We include "isn't" so that the contractions test is also added.
      data = ["This isn't real data"]
      task_suite = TaskSuite(add_default_tests=True, data=data)
      assert "Typos" in task_suite.suite.tests
      assert "2 Typos" in task_suite.suite.tests
      assert "Contractions" in task_suite.suite.tests
  
      data = ["This is data with no contractions."]
      task_suite = TaskSuite(add_default_tests=True, data=data)
      assert "Typos" in task_suite.suite.tests
      assert "2 Typos" in task_suite.suite.tests
      assert "Contractions" not in task_suite.suite.tests
  
file_path: allennlp/tests/confidence_checks/task_checklists/task_suite_test.py
imports: import pytest
  from allennlp.confidence_checks.task_checklists.task_suite import TaskSuite
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.common.checks import ConfigurationError
  from allennlp.models.archival import load_archive
  from allennlp.predictors import Predictor
  from allennlp.common.testing.checklist_test import FakeTaskSuite
label_desc: Use image node_id 6 for calling the TestTaskSuite obj's underlying member method code with example usage: obj.test_add_default_tests() without return types