Fix tests for missing RUBY_ENGINE

Old CRuby versions have no RUBY_ENGINE, but the new tests don't account
for this.  This allows the tests to pass on these old rubies (even
though they don't use default gems).

See #611