Added log test.

Added a log test.