Add test suite.
Merge pull request #24 from ktf/master

Add test suite.