Test case for r179339.