support unit testing
Merge pull request #1 from kikuchy/master

support unit testing