Added assert for the pending size. We are only testing individual function and since the response data is not valid (doesn't have a global hash), no point to add assert for it.