Added test for encoding change #42