tweaks so tests run on ruby 1.9.3

use open_uri_redirections (patch for safe http->https redirects
use require_relative and add . to load_path in test.rb