fixed mocha test

Signed-off-by: miaojian <kitemao@gmail.com>
Merge pull request #29 from kitemao/master

fixed mocha test