human
Complete this python program:
def make_istatechange_tests(klass, kwargs1, kwargs2):
assistant
#Here is the Python program you requested.

    """Create tests to verify a class provides ``IStateChange``.
    :param klass: Class that implements ``IStateChange``.
    :param kwargs1: Keyword arguments to ``klass``.
    :param kwargs2: Keyword arguments to ``klass`` that create different
    change than ``kwargs1``.
    :return: ``SynchronousTestCase`` subclass named
    ``<klassname>IStateChangeTests``.
    """
    def instance(kwargs):
        if isinstance(kwargs, dict):
            return klass(**kwargs)
        return klass(**kwargs())
    class Tests(make_comparison_tests(klass, kwargs1, kwargs2), ):
        def test_interface(self):
            '\n                                                The    class    implements    ``IStateChange``.\n                                                '
            self.assertTrue(verifyObject(IStateChange, instance(kwargs1)))
    Tests.__name__ = (klass.__name__ + 'IStateChangeTests')
    return Tests