add test framework
Merge branch 'master' of https://github.com/fyruicao/diggit into fix_test