JSON responce in test method