Mock the plugin and use the real manager in tests