Fixed test encoding