unit test cases
Merge pull request #134 from JacksonTian/ut

unit test cases