The uri argument to Gem::Request.new must be a URI

The tests were lazy and used a String which was converted internally.
This causes problems on older ruby versions which don't allow
`URI(URI("http://example"))`.

Now the argument given is always a URI in the tests.