commands/plugin: add tests for UpdateGems