Ported another test
improved diagnostics
allow null argument
only install plugins that are not already present in the target system