Added test case for issue#118

I've added my test case for issue#118.
It is beeing failed on master.