add func tests
corrects tests
Merge branch 'master' of https://github.com/dotu/kaize-test