Modify test encoding