I assume we still need this particular test and the implementation behind it. As the XML API returned lots of useless HTML wrapping around pure text logs, I expect the OKAPI version to do the same. That in turn leads to lots of empty space in the log (e.g. because of empty paragraph tags).