Added unit test for issue #111.