Merge pull request #1389 from david0/plugin-parameters

added unit tests for plugin parameters