ths looks wrong to me. All keys of the etalon should be checked. Your current implementation will not fail if the returned response is missing an expected key