require the TestUnit gem since it's not required by
config/environment.rb or subsequently config/application.rb
remove gem 'rr' include statement in response to this deprecation warning,

    https://travis-ci.org/rubygems/rubygems.org/builds/12976964

    --------------------------------------------------------------------------------
    RR deprecation warning: RR now has an autohook system. You don't need to
    `include RR::Adapters::*` in your test framework's base class anymore.
    --------------------------------------------------------------------------------
require factory_girl_rails to fix this error,

    rake aborted!
    uninitialized constant FactoryGirl
    /Users/weston/git/rubygems.org/test/test_helper.rb:12:in `<class:TestCase>'
    /Users/weston/git/rubygems.org/test/test_helper.rb:8:in `<top (required)>'
    /Users/weston/git/rubygems.org/test/unit/dependencies_middleware_test.rb:1:in `<top (required)>'
    Tasks: TOP => test:run => test:units
    (See full trace by running task with --trace)
    Run options: --seed 13056

    # Running tests:
    Finished tests in 0.001230s, 0.0000 tests/s, 0.0000 assertions/s.
    0 tests, 0 assertions, 0 failures, 0 errors, 0 skips
require webmock/test_unit as WebMock 1.15.0 README describes
https://github.com/bblimke/webmock/blob/8e07a609b337ec24e505b594639be80637650da1/README.md#testunit
require Timecop since it was an undefined constant,

    101) Error:
    UserTest#test: downloads should sum up downloads for this user. :
    NameError: uninitialized constant UserTest::Timecop
        test/unit/user_test.rb:184:in `block (2 levels) in <class:UserTest>'
move all the requires to the top of the file