test: rename Plugin to LegacyPlugin