added unit test code
Merge pull request #2 from wsl-ph/qa

added unit test code