add unit test for version
Merge pull request #913 from lzhan/addunittest

add unit test for version