Upgrades test app to Rails 4.