Added tests for #692
Merge pull request #714 from AltGr/tests-692

Added tests for #692