Test against 4.2

That. Also fixes some deprecation warnings.
do you mean TEST_RAILS_VERSION here or do you just mean RAILS_VERSION?