Add regression test for issue #130.