Update source code in UnitTests, remove legacy PNLog usage.