Added test case for issue#118
Merge pull request #16 from SergeyVasilyev/master

Added test case for issue#118