Added a regression test for issue #102