Fix some small issues in cout.
Fix failing tv tests.