Update dependencies and fix the test suite with Active Support 4.1