Tests for #1885