Infra 272 better rate limit handling

can you use `assert.equal` here?