Bugfixed unit tests for API changes for Logging