update test for default encoding option