Added regression test for #212.