added unit tests for plugin parameters

@mvriel: is this what you had in mind?