Tests for #1750