Refs #8028 - Pin down debug error with unit test.