update rails
refactor test_helper