fix tests to work without requiring an existing logfile