Added regression test for issue #15.