Logging Trace extension method, fixed unit test