Upgrade test app to Rails 4