def METHOD_NAME(self):
    update_dict = {"a": "artichoke", "f": "fig"}
    cb = Callback(self, changed={"a": "apple"}, added={"f": "fig"})
    foo = MyClass(cb)
    foo.d.update(update_dict)
    self.assertTrue(cb.called)