Integration test patch for 2.3.x branch

Can this patch be accepted please?

https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/5301

I posted this a month ago, but haven't seen any further comments on
why it may not be getting committed.

Thanks