add test for filename update in PluginCheck