(PE-5677) Add tests for gem cli tool.

Signed-off-by: Wayne <wayne@puppetlabs.com>