Test case for #990
Merge pull request #991 from hroncok/test990

Test case for #990