Merge pull request #17 from miller/master

add test case
修复hash默认处理的问题
Merge pull request #9 from xspider/master

sync master