Make tests able to run with most recent ActiveRecord version

Fixes the following:
(...)/activerecord-4.1.4/lib/active_record/connection_handling.rb:3:in \`block in <module:ConnectionHandling>': undefined method \`env' for Rails:Class (NoMethodError)