add tests for cout