fix up tests for cout