async def METHOD_NAME():
    o = options.Options()
    m = master.Master(o)
    a = addonmanager.AddonManager(m)
    halt = AsyncTHalt()
    end = AsyncTAddon("end")
    a.add(halt)
    a.add(end)
    assert not end.running_called
    await a.trigger_event(hooks.RunningHook())
    assert not end.running_called
    a.remove(halt)
    await a.trigger_event(hooks.RunningHook())
    assert end.running_called