Make tests slightly more efficient.

Before we were cleaning up the known encoding string for each file of
that encoding.  This was completely unnecessary.