Added unit test for decode_token