Made it possible to run the tests on rails 3.2