Add test case for SEGV fixed in pull request #134
Merge pull request #136 from noa--/test-fix-potential-segv

Add test case for SEGV fixed in pull request #134