def METHOD_NAME(self):
    a = CustomA('a')
    self.assertTrue(a.creator is None)
    self.assertTrue(jsonpickle.decode(jsonpickle.encode(a)).creator is None)
    b = CustomB('b')
    self.assertTrue(b.creator is None)
    self.assertTrue(jsonpickle.decode(jsonpickle.encode(b)).creator is None)
    OtherHandler = type('OtherHandler', (NullHandler,), {})
    jsonpickle.handlers.register(CustomA, OtherHandler, base=True)
    self.assertTrue(self.roundtrip(a).creator is OtherHandler)
    self.assertTrue(self.roundtrip(b).creator is OtherHandler)
    SpecializedHandler = type('SpecializedHandler', (NullHandler,), {})
    jsonpickle.handlers.register(CustomB, SpecializedHandler)
    self.assertTrue(self.roundtrip(a).creator is OtherHandler)
    self.assertTrue(self.roundtrip(b).creator is SpecializedHandler)