Adding tests for log