fix CodecTests
fix some codec format issues