Introduce a sleep to integ test to ensure that output timestamps are different

- Removed duplicate test
Another attempted fix for cross-platform C++ integration tests

- Use newline/endl when writing to stdout so that windows doesn't reorder println statements (I think)