fixes HooksRunner test - should run before_plugin_uninstall