Adds test for #122
Merge pull request #124 from czpython/test-for-122

Adds test for #122