add regression test for #134