Tests for issue #10180