Added test cases for certificate and token
Merge branch 'master' of https://github.com/drankye/haox