Make tests pass on win.

Make tests pass on windows.
Also make DebuggerTest pass on its own - as there we need to define CakeLog config to listen to the file stream here.