I wan't to test method getToken(). Thit method returns json encoded hash.

Shure, I can strip quotes by myself, but it seems tedious.