Add a test for the recent regression.