Add a test for a recent regression.