add regression test for bug #56