Not intended for merge to master but to allow sharing of diff relevant to https://github.com/rails/rails/issues/6659

Behaviour of these tests is still as described in the comments even with latest Rails master as of 14th Oct 2013