Added test for issue #116