Issue #1849814 by damiankloip, dawehner: Unit-Test for PluginBase::unpackOptions and PluginBase::setOptionDefaults.