commands/plugin: add more tests for installgem