Fix ActiveSupport 2.3.x compatibility

The 2.3 branch of ActiveSupport is not very good about requiring all
necessary dependencies, so the tests were failing when run against 2.3.