Update rails to 3.2.18
Refactor test_helper.rb