Added test for issue #19