t9350: fix encoding test to actually test reencoding