Add regression test of weird special case.