Added test for issue 4 [ci skip]