Added regression test for GitHub issue #33.