Add new test case to verify patches are actually working and prevent future breakage! Fixes #5462. [SVN r71240]