Added tentative test for bug #1881
Fix test for 1881
Merge pull request #1891 from yakky/feature/test_1881

Test for #1881