Better check `!== -1`, also you probably want to check that that all expectedHeaders are present. Could be just a `Object.keys(req.headers).length === Object.keys(expectedHeaders[...]).length` (but a bit DRY, with putting `Object.keys()` to a shared variable).