Fix newline comparison failure on windows.

Add more debug information for tests that have been failing recently.