Update reflection signature for scripted plugin, add test for the plugin.