add tests for Pardon command and PluginConfiguration