Add tests to illustrate problem described in SPR-12194