Add regression test of #26