adding tests
Merge pull request #3 from kienpham2000/master

adding tests