test GetPlugins and removeDevice with an invalid param