Added a doctest for zero-digit documents.

Zero digits == never append zeros.