plugins: pass mocked STATE and NOTIFY to child plugin
plugins: pass a mocked BACKEND to plugins
mod_raw: do not use STATE's internals