test for issue #621
Merge pull request #630 from sashakruglov/issue_621

test for issue #621