Fix failing test_plugin.test_plugin_caching unittest