add tools/mktests.go to generate tests files.
generate tests sketch files
Merge pull request #1 from chai2010/master

增加生成测试文件和对应的生成代码