Add regression test for issue #94