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

Fixes - #10  Write tests for log method #10
Fixes-#9 Write tests for matchname method