Work around odt2txt oddities

The binary “odt2txt” behaves differently on Linux and OS X. The
unittests work around this behaviour.