Tests working with json result