Tests for https://github.com/silverstripe/silverstripe-framework/pull/3347