Fix tests when 'a.rb' exists

The tests created and required an 'a.rb'.  If you happen to have an a.rb
in the tests rubygems was run from this would cause the tests to fail.

Now rubygems requires a longer file name and asserts that the new file
is not requireable.

Fixes ruby bug #7749