add unit test & fix bug
Merge branch 'master' of https://github.com/gxcsoccer/jsonbuf