Test case for issue #119