Fix up encoding tests
* for version 1.40