pending test for invalid encoding