add regression test for #155