tests: fixed fixEncoding test