def METHOD_NAME(self):
    problem = Problem.objects.get()
    test1 = Test.objects.get(name='0')
    test2 = Test.objects.get(name='1a')
    test3 = Test.objects.get(name='1b')
    test4 = Test.objects.get(name='2')
    tp = TestsPackage(
        problem=problem,
        name='some_name',
        description='some desc',
        publish_date=datetime(2012, 8, 5, 0, 11, tzinfo=timezone.utc),
    )
    tp.save()
    tp.tests.add(test1, test3)
    tp = TestsPackage.objects.get(id=1)
    self._assertTestsInPackage([test1, test3], tp)
    self._assertTestsNotInPackage([test2, test4], tp)