regression test for #8