Add unit tests for log attribute.