Test for issue 2832.