fix encoding test data