Add regression test case for #44