Alter tests to run against different RubyGems
Alters the tests to run them against RubyGems 1.8.25 and 2.0.0, but only
on Travis CI.