Upgrade test app to Rails 4
Remove test app gemfiles
Address ActiveRecord deprecations