Add test case for r178881.