new_contents: from taiga.requestmaker import RequestMaker, RequestMakerException
  from taiga.models.base import InstanceResource, ListResource
  from taiga.models import TaskStatus, TaskStatuses
  from taiga import TaigaAPI
  import taiga.exceptions
  import json
  import requests
  import unittest
  from mock import patch
  from .tools import create_mock_json
  from .tools import MockResponse
  
  
  class TestTaskStatuses(unittest.TestCase):
  
      @patch('taiga.models.base.ListResource._new_resource')
      def test_create_task_status(self, mock_new_resource):
          rm = RequestMaker('/api/v1', 'fakehost', 'faketoken')
          mock_new_resource.return_value = TaskStatus(rm)
          ts = TaskStatuses(rm).create(1, 'TS 1')
          mock_new_resource.assert_called_with(
              payload={'project': 1, 'name': 'TS 1'}
          )
  
  
subject: Add tests for task statuses