add regression test for #TANAL-9