add unittest
Merge pull request #1 from rannk/addunittest

add unittest