Added regression test for issue 23
Merge pull request #25 from mertenvg/feature/unit-test-issue-23

Added regression test for issue 23