regression test for Issue 13774
Merge pull request #4188 from MartinNowak/fix13774

regression test for Issue 13774