This line and the assertion checking the `reuslt_count` should be below the `status_code` check below. If the code is not `ok` then nothing else matters.