To work around coherence issue. Also adds regression test.
Since I was writing some examples for an RFC anyway.