Fixes #10  Write tests for log method #10
Merge pull request #12 from kumarrishav/issue-#10

Fixes - #10  Write tests for log method #10