Add regression test for issue #128.