Forcing stdout/stderr flush on unit tests.