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

Signed-off-by: Wayne <wayne@puppetlabs.com>
Merge pull request #234 from waynr/stable/maint

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