new_contents: from django.test import (
      RequestFactory,
      TestCase,
  )
  
  from mock import patch
  
  class TestTrackAPICalls(TestCase):
      def test_when_user(self):
          pass
  
      def test_when_no_user(self):
          pass
subject: Create test class