Tests for the UnicodeDecode error