def METHOD_NAME(self):
    s1 = PickleTest(b=41)
    s2 = pickle.loads(pickle.dumps(s1))
    assert s2.b == 41 and s2.a == '42'
    assert s2.__class__.__name__ == 'PickleTest'
    s1 = PickleTestMixed(b=41)
    s2 = pickle.loads(pickle.dumps(s1))
    assert s2.b == 41 and s2.a == '42'
    assert s2.__class__.__name__ == 'PickleTestMixed'