Added tests for testing log prefix formatting.