Add test case for a recent stack overflow question.