added test for issue #111