Fixes-#9 Write tests for matchname method
Merge pull request #11 from kumarrishav/issue-#9

Fixes #9  Write tests for matchname method #9