Fixes issue 69770, fractions were causing issues with both append and unshift.   It could also do some pretty broken things with replacing a box.
Checks in a test case and fix for the fraction append and unshift issues.