Add a test case for r185707/PR16547.