Added test for issue #123