Fix tests loading for Ruby 1.9