fixes to logger and fixes to allow tests to run on one machine