Fixes #5 Write tests for splitname method
Merge pull request #8 from kumarrishav/issue-#5

Fixes #5 Write tests for splitname method