do not need main in test
add test framework
Merge pull request #17 from fyruicao/fix_test

添加测试框架