Test case for issue #969
Merge pull request #970 from alexander-mironov/dev

Test case for issue #969