Coverity CID 971349
Added unit test for decode_token
Added unit test for decode_tv
Merge pull request #55 from actorquedeveloper/master

master sync from actorquedeveloper