add test coverage
Merge pull request #1 from tienvx/master

 add test coverage